import 'package:get/get.dart';
import 'package:dio/dio.dart' as dio;

class CommController extends GetxController {
  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  getAccessoryCabineData(double longitude,double latitude) async {
    final response = await dio.Dio()
        .get("post/cabinet/nearbyCabinetPage",
        options: dio.Options(responseType: dio.ResponseType.json),
    queryParameters: {"longitude":longitude,"latitude":latitude,"map":'{"distance": "1000","coordType":"bd09ll","status":"1","pageNo":"1","pageSize":"1","searchType":"0"}'});
  }
}
